<?php 
defined('BASEPATH') OR exit('No direct script access allowed');

function showTypeDataConfig(){
	return array(
		'concert'=> 'Concert Tour',
		'showcase'=> 'Music Showcase',
		'fanmeeting'=> 'Fan Meeting',
		'speaking'=> 'Speaking Engagement',
		'theatre-play'=> 'Theatre Plays & Musicals',
		'other'=> 'Others'
	);
}

function countriesOnTheWorldDataConfig(){
	$ci=& get_instance();
	$resultObj = $ci->db->get('default_world_countries')->result();
	
	$array_return = array();
	foreach($resultObj as $obj){
		$array_return[$obj->country_name] = $obj->country_name;
	}
	return $array_return;
}

function countryOriginDataConfig(){
	return array(
		'us'=> 'US',
		'europe'=>'Europe',
		'chinese'=>'Chinese territories (Taiwan, Hong Kong, China)',
		'korea'=> 'Korea',
		'japan'=> 'Japan',
		'other'=>'Others'
	);
}

function countryZoneDataConfig(){
	return array(
		'asia'=> 'Asia',
		'australia'=>'Australia/New Zealand',
		'middle-east'=>'Middle East',
		'other'=>'Others'
	);
}

function speakerProfileDataConfig(){
	return array(
		'finance'=> 'Finance',
		'it'=> 'IT',
		'education'=> 'Education',
		'motivational'=> 'Motivational',
		'religious'=> 'Religious',
		'others'=> 'Others'
	);
}

function playsMusicalsDataConfig(){
	return array(
		'play'=> 'Play',
		'musical'=> 'Musical',
		'opera'=> 'Opera',
		'non-verbal'=> 'Non-Verbal',
		'dance'=> 'Dance',
		'others'=> 'Others'
	);
}

function musicGenreDataConfig(){
	/** $ci=& get_instance();
	
	$ci->load->library('music');
	$listRecords = $ci->music->getListRecords();
	
	$musicGenreArray = array();
	foreach($listRecords as $obj){
		$musicGenreArray[$obj->id] = $obj->genre;
	}
	return $musicGenreArray;
	**/
	return array(
		'pop' => 'Pop', 
		'rock' => 'Rock', 
		'alt_punk' => 'Alternative/Punk',
		'chris_gospel' => 'Christian/Gospel',
		'dance_elec' => 'Dance/Electronic',
		'indie' => 'Indie',
		'rap_hiphop' => 'Rap & Hip Hop',
		'blues' => 'Blues',
		'children' => 'Children',
		'classical' => 'Classical',
		'country' => 'Country',
		'folk' => 'Folk',
		'hard_rock_metal' => 'Hard Rock/Metal',
		'jazz' => 'Jazz',
		'rnb_soul' => 'R&B/Soul',
		'world_music' => 'World Music',
		'not_applicable' => 'Not Applicable '
	);
}

function durationOfShowDataConfig(){
	return array(
		'lt_45m'=> '<45 Mins',
		'45m'=> '45 Mins',
		'60m'=> '60 Mins',
		'75m'=> '75 Mins',
		'90m'=> '90 Mins',
		'120m'=> '120 Mins',
		'gt_120m'=> '>120 Mins'
	);
}

function coBuyerOrSellerDataConfig(){
	return array(
		'co_buyer'=> 'C/O Buyer',
		'co_seller'=> 'C/O Seller'
	);
}

function bidOpenToDataConfig(){
	return array(
		'private'=> 'Private',
		'commercial'=> 'Commercial',
		'public'=> 'Public'
	);
}

function showStatusDataConfig(){
	return array(
		'opening' => 'Opening',
		'closed' => 'Closed',
		'cancelled' => 'Cancelled',
		'pending' => 'Pending'
	);
}

function bidStatusDataConfig(){
	return array(
		'bidding'=> "Bidding",
		'won'=> "Won",
		'lost'=> "Lost"
	);
}

function userStatusDataConfig(){
	return array(
		'active'=>'Activated',
		'confirm'=>'Confirmed',
		'pending'=>'Pending'
	);
}

function buyerAccountTypeDataConfig(){
	return array(
		'general'			=>	'General',
		'corporate_brand'	=>	'Corporate Brand',
		'vip'				=>	'VIP'
	);
}

function allowExtensionFileDocumentUpload(){
	return array('doc','docx','rtf','txt','pdf','ppt','xls','pptx','xlsx');
}

function allowExtensionPictureUpload(){
	return array('png','gif','jpg','jpeg');
}

function allowMaxFileSize(){
	//mb
	return 10;
}

function howManyDaysCanModifyShowCreated(){
	return 5;
}

function defaultNumberRecordsPerPageShowDataConfig(){
	return 5;
}

function showNumberRecordsPerPageDataConfig(){
	return array('5'=>'5', '10'=>'10', '20'=> '20', '30'=>'30', '50'=> '50', '100'=> '100', '250'=> '250', '500'=>'500');
}

function emailSlugAdminHandleSendDataConfig(){
	return array(	
					'notify-seller-escrow-receipt',
					'confirm-seller-buyer-bank-fund-net-fee-release',
					'seller-buyer-file-dispute-fund-net-fee-release',
					'notify-seller-escrow-second-receipt',
					'one-day-b4-dispute-confirm-buyer-fund-release',
					'buyer-file-dispute-notify-send-fund-to-buyer',
					'seller-dispute-file-notify-buyer-advise-fund',
					'notify-seller-bid-closed-ready-award-selection'
				);
}